package cn.hiapi.core.basic;

import com.alibaba.fastjson2.JSON;

/**
 * @author AdinZ
 * @date 2024/1/12 10:40
 */
public class BasicEntity extends Nuwa{

    public String toJSONString(){
        return JSON.toJSONString(this);
    }

    @Override
    public String toString() {
        return this.toJSONString();
    }

    public byte[] toJSONBytes(){
        return JSON.toJSONBytes(this);
    }


}
